﻿using Synthesize.BaseSet.Domain.Aggregation.ValueObject.Authority;
using System;
using System.Collections.Generic;
using System.Text;

namespace Synthesize.BaseSet.ServiceInterface.Dtos.Authority.Login
{
    /// <summary>
    /// 用户登录信息
    /// </summary>
    public class UserLoginInfoOutput
    {
        /// <summary>
        /// 用户名【登录名】
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户真实名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 用户电话
        /// </summary>
        public string Telphone { get; set; }

        /// <summary>
        /// 授权码
        /// </summary>
        public string AuthToken { get; set; }

        /// <summary>
        /// 刷新码
        /// </summary>
        public string RefreshToken { get; set; }

        /// <summary>
        /// 有效秒数
        /// </summary>
        public int ExpiresIn { get; set; }

        /// <summary>
        /// 授权码类型 Bearer
        /// </summary>
        public string TokenType { get; set; }

        /// <summary>
        /// 所属角色
        /// </summary>
        public List<string> Role { get; set; }

    }
}
